import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:jm_flutter/src/ui/resources/resources.dart';

class MySystemUI extends AnnotatedRegion<SystemUiOverlayStyle> {
  MySystemUI(
      {Key? key,
      required Widget child,
      StatusBarType? type,
      Color? bottomNavigationBarColor})
      : super(
            key: key,
            child: child,
            value: JmStatusBar(type: type, navColor: bottomNavigationBarColor));
}
